
using System;
using System.Collections;

namespace FutureOpen.Core
{
	#region Logdoc

	/// <summary>
	/// Logdoc string for NHibernate mapped table 'logdoc'.
	/// </summary>
	public class Logdoc
		{
		#region Member Variables
		
		protected int _logdoc_id;
		protected int _logdoc_usr;
		protected int _logdoc_doc;
		protected DateTime _logdoc_time;
		protected string _logdoc_query;

		#endregion

		#region Constructors

		public Logdoc() { }

		public Logdoc( int logdoc_usr, int logdoc_doc, DateTime logdoc_time, string logdoc_query )
		{
			this._logdoc_usr = logdoc_usr;
			this._logdoc_doc = logdoc_doc;
			this._logdoc_time = logdoc_time;
			this._logdoc_query = logdoc_query;
		}

		#endregion

		#region Public Properties

		public virtual int Logdoc_id
		{
			get {return _logdoc_id;}
			set {_logdoc_id = value;}
		}

		public virtual int Logdoc_usr
		{
			get { return _logdoc_usr; }
			set { _logdoc_usr = value; }
		}

		public virtual int Logdoc_doc
		{
			get { return _logdoc_doc; }
			set { _logdoc_doc = value; }
		}

		public virtual DateTime Logdoc_time
		{
			get { return _logdoc_time; }
			set { _logdoc_time = value; }
		}

		public virtual string Logdoc_query
		{
			get { return _logdoc_query; }
			set
			{
				if ( value != null && value.Length > 135)
					throw new ArgumentOutOfRangeException("Invalid value for Logdoc_query", value, value.ToString());
				_logdoc_query = value;
			}
		}

        
		#endregion
		
        
	}

	#endregion
}
